<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="ALDate,com.jidolstar.astro.ALDate,JD,JDN,MJD,RJD,calendarDate,clone,currentCalendarKind,datePartOfJD,day,dayOfWeek,dayOfYear,daysInMonth,daysInYear,fractionalDay,fractionalYear,hour,isLeapYear,minute,month,second,timePartOfJD,year,JD2Date,JD2MJD,JD2RJD,MJD2JD,RJD2JD,date2JD,dayOfWeekFromDate,dayOfWeekFromJD,dayOfYear,dayOfYearToDayAndMonth,daysInMonth,daysInYear,isLeapYear,setDate,toString" name="keywords">
<title>com.jidolstar.astro.ALDate</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'ALDate - as3astrolib';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">as3astrolib</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/jidolstar/astro/ALDate.html&amp;com/jidolstar/astro/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;ALDate</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class ALDate"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.jidolstar.astro</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class ALDate</td>
</tr>
</table>
<p></p>
  천문학 관련 Date 클래스
  
  <ul> 
  <li>날짜와 Julian Date 변환이 가능하며 윤년, 해당 해의 날수, 해당 달(월)의 날수, 요일 등 계산이 가능하다.
  <li>그레고리력과 율리우스력 자동변환을 한다.
  <li>Modified Julian Date, Reduced Julian Date 값을 알아낼 수 있다. 
  </ul>
  
  <p></p>
<br>
<span class="label">Example</span>
<br>  <div class='listing'><pre>
  var date:ALDate; 
  date = new ALDate( 2009, 4, 8, 3, 18, 4, ALCalendarType.GREGORIAN ); //입력하는 년월일시분초는 Greogian 달력을 기준으로 하는 값임. 이 경우에는 null로 입력해도 동일   
  trace( date.toString() ); //2009-04-08 03:18:04.000
  trace( date.JD ); //2454929.637546296
  trace( date.JDN ); //2454929
  trace( date.dayOfWeek ); //3 : 수요일 
  trace( date.dayOfYear ); //98 : 2009년 1월 1일부터 2009년 4월 8일까지 98일임  
  trace( date.daysInYear ); //365 : 2009년은 365일임 
  trace( date.fractionalYear ); //2009.2661302638253 : 년도를 분수형태로 나타냄 
  trace( date.isLeapYear ); //false : 윤년이 아님 
  trace( date.MJD ); //54929.13754629623 : Modified Julian Date값
  trace( date.year, date.month, date.day, date.hour, date.minute, date.second ); //년,월,일,시,분,초
  trace( date.datePartOfJD ); //2454929.5 일 
  trace( date.timePartOfJD ); //3.3011111095547676 h 
  
  date = new ALDate( 2000, 1, 1, 0, 0, 0 );
  trace( date.toString() ); //2000-01-01 00:00:00.000
  trace( date.JD ); //2451544.5
  trace( date.JDN ); //2451544
  trace( date.dayOfWeek ); //6 : 토요일 
  trace( date.dayOfYear ); //1 : 2009년 1월 1일부터 2009년 1월 1일까지 1일임  
  trace( date.daysInYear ); //366 : 2009년은 365일임 
  trace( date.fractionalYear ); //2000 : 년도를 분수형태로 나타냄 
  trace( date.isLeapYear ); //true : 윤년임
  trace( date.MJD ); //51544 : Modified Julian Date값
  trace( date.year, date.month, date.day, date.hour, date.minute, date.second ); //년,월,일,시,분,초 
  trace( date.datePartOfJD ); //2451544.5 일
  trace( date.timePartOfJD ); //0h
  
  date = new ALDate( 1988, 1, 27, null );
  trace( date.toString() ); //1988-01-27 00:00:00.000
  trace( date.JD ); //2447187.5
  
  date = new ALDate( 837, 4, 10.3 );
  trace( date.toString() ); //837-04-10 07:12:00.000
  trace( date.JD ); //2026871.8
  
  date = new ALDate( 2305812.5 );
  trace( date.toString() ); //1600-12-31 00:00:00.000
  trace( date.JD ); //2305812.5
  
  date = new ALDate( 0 );
  trace( date.toString() ); //-4712-01-01 12:00:00.000
  trace( date.JD ); //0
  
  date = new ALDate( 2400000.5 );
  trace( date.toString() ); //1858-11-17 00:00:00.000
  trace( date.JD ); //2400000.5
  
  trace( ALDate.date2JD( 837, 4, 10.3 ) ); //2026871.8 
  
  trace( ALDate.JD2MJD( 2451544.5 ) ); //51544
  
  trace( ALDate.isLeapYear( 2000 ) ); //true
  </pre></div>
    <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="http://en.wikipedia.org/wiki/Julian_day" target="mm_external">http://www.bambooweb.com/articles/j/u/Julian_day.html http://scienceworld.wolfram.com/astronomy/JulianDate.html http://wwwmacho.mcmaster.ca/JAVA/CD.html http://www.hermetic.ch/cal_stud/jdn.htm http://www.cv.nrao.edu/~rfisher/Ephemerides/times.html http://en.wikipedia.org/wiki/Universal_Time http://www.merlyn.demon.co.uk/daycount.htm#GDDC</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#calendarDate">calendarDate</a> : <a href="../astro/ALCalendarDate.html">ALCalendarDate</a>
<div class="summaryTableDescription">[read-only]
   CalendayDate 타입으로 날짜를 반환해준다.</div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#clone">clone</a> : <a href="../astro/ALDate.html">ALDate</a>
<div class="summaryTableDescription">[read-only]
   복제한다.</div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#currentCalendarKind">currentCalendarKind</a> : String<div class="summaryTableDescription">[read-only]
   현재 설정된 달력의 종류
   1582.10.4 이전이면 ALCalendarType.JULIAN, 
   1582.10.15 이후이면 ALCalendarType.GREGORIAN 이 설정된다.</div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#datePartOfJD">datePartOfJD</a> : Number<div class="summaryTableDescription">[read-only]
   Julian Date에서 날짜부분만 얻어냄.</div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#day">day</a> : int<div class="summaryTableDescription">[read-only]
   일(1~31)
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#dayOfWeek">dayOfWeek</a> : int<div class="summaryTableDescription">[read-only]
   요일 
   <p>
   0 : ALDayOfWeek.SUNDAY<br>
   1 : ALDayOfWeek.MONDAY<br>
   2 : ALDayOfWeek.THUSEDAY<br>
   3 : ALDayOfWeek.WEDNESDAY<br>
   4 : ALDayOfWeek.THURSDAY<br>
   5 : ALDayOfWeek.FRIDAY<br>
   6 : ALDayOfWeek.SATURDAY<br>
   </p>
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#dayOfYear">dayOfYear</a> : int<div class="summaryTableDescription">[read-only]
   해당 년도에서  현재 날짜까지의 날수 
   
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#daysInMonth">daysInMonth</a> : int<div class="summaryTableDescription">[read-only]
   해당 달의 날 수 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#daysInYear">daysInYear</a> : int<div class="summaryTableDescription">[read-only]
   해당 해의 날수 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#fractionalDay">fractionalDay</a> : Number<div class="summaryTableDescription">[read-only]
   분수값을 가지는 day 반환
   
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#fractionalYear">fractionalYear</a> : Number<div class="summaryTableDescription">[read-only]
   분수값을 가지는 년도값 반환 
   가령 1932.3221년 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#hour">hour</a> : int<div class="summaryTableDescription">[read-only]
   시(0~23)
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#isLeapYear">isLeapYear</a> : Boolean<div class="summaryTableDescription">[read-only]
   윤년인가?
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#JD">JD</a> : Number<div class="summaryTableDescription">
   Julian Date 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#JDN">JDN</a> : Number<div class="summaryTableDescription">[read-only]
   Julian Date number
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#minute">minute</a> : int<div class="summaryTableDescription">[read-only]
   분(0~59)
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#MJD">MJD</a> : Number<div class="summaryTableDescription">
   Modified Julian Date 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#month">month</a> : int<div class="summaryTableDescription">[read-only]
   월(1~12)
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#RJD">RJD</a> : Number<div class="summaryTableDescription">
   Reduced Julian Date 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#second">second</a> : Number<div class="summaryTableDescription">[read-only]
   초(0~59.9999...)
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#timePartOfJD">timePartOfJD</a> : Number<div class="summaryTableDescription">[read-only]
   Julian Date에서 시간부분만 얻어냄.</div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#year">year</a> : int<div class="summaryTableDescription">[read-only]
   년도 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#ALDate()">ALDate</a>(... args)</div>
<div class="summaryTableDescription">
   생성자.</div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#date2JD()">date2JD</a>(year:int, month:int, day:int, hour:int = 0, minute:int = 0, second:Number = 0, calendarType:String = null):Number</div>
<div class="summaryTableDescription">[static]
   Calculation of the JD from the General Date 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dayOfWeekFromDate()">dayOfWeekFromDate</a>(year:int, month:int, day:int):int</div>
<div class="summaryTableDescription">[static]
   요일 (날짜 값으로 계산)
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dayOfWeekFromJD()">dayOfWeekFromJD</a>(jd:Number):int</div>
<div class="summaryTableDescription">[static]
   요일 (Julian Date 값으로 계산)
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dayOfYear()">dayOfYear</a>(year:int, month:int, day:int):Number</div>
<div class="summaryTableDescription">[static]
   해당 년도에서 현재 날짜까지의 날수 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dayOfYearToDayAndMonth()">dayOfYearToDayAndMonth</a>(year:int, dayOfYear:int):Array</div>
<div class="summaryTableDescription">[static]
   calculation of 'day of the year' to 'day and month'
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#daysInMonth()">daysInMonth</a>(year:int, month:int):int</div>
<div class="summaryTableDescription">[static]
   해당 년도,월의 날수 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#daysInYear()">daysInYear</a>(year:int):int</div>
<div class="summaryTableDescription">[static]
   해당 해의 날수 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isLeapYear()">isLeapYear</a>(year:int):Boolean</div>
<div class="summaryTableDescription">[static]
   해당 년도가 윤년인가?
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#JD2Date()">JD2Date</a>(JD:Number):<a href="../astro/ALDate.html">ALDate</a>
</div>
<div class="summaryTableDescription">[static]
   Calculation of the the General Date from JD
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#JD2MJD()">JD2MJD</a>(jd:Number):Number</div>
<div class="summaryTableDescription">[static]
   Calculation of the MJD from the JD 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#JD2RJD()">JD2RJD</a>(jd:Number):Number</div>
<div class="summaryTableDescription">[static]
   Calculation of the RJD from the JD 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#MJD2JD()">MJD2JD</a>(mjd:Number):Number</div>
<div class="summaryTableDescription">[static]
   Calculation of the JD from the MJD 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#RJD2JD()">RJD2JD</a>(rjd:Number):Number</div>
<div class="summaryTableDescription">[static]
   Calculation of the JD from the RJD 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setDate()">setDate</a>(... args):void</div>
<div class="summaryTableDescription">
   날짜를 설정한다.</div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#toString()">toString</a>(arcsecToFixed:int = 2):String</div>
<div class="summaryTableDescription">
   year-month-day hour:minute:second 출력 
   </div>
</td><td class="summaryTableOwnerCol">ALDate</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="calendarDate"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">calendarDate</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>calendarDate:<a href="../astro/ALCalendarDate.html">ALCalendarDate</a></code>&nbsp;&nbsp;[read-only]<p>
   CalendayDate 타입으로 날짜를 반환해준다. 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get calendarDate():<a href="../astro/ALCalendarDate.html">ALCalendarDate</a></code>
<br>
</div>
<a name="clone"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">clone</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>clone:<a href="../astro/ALDate.html">ALDate</a></code>&nbsp;&nbsp;[read-only]<p>
   복제한다. 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get clone():<a href="../astro/ALDate.html">ALDate</a></code>
<br>
</div>
<a name="currentCalendarKind"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">currentCalendarKind</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>currentCalendarKind:String</code>&nbsp;&nbsp;[read-only]<p>
   현재 설정된 달력의 종류
   1582.10.4 이전이면 ALCalendarType.JULIAN, 
   1582.10.15 이후이면 ALCalendarType.GREGORIAN 이 설정된다.
    
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get currentCalendarKind():String</code>
<br>
</div>
<a name="datePartOfJD"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">datePartOfJD</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>datePartOfJD:Number</code>&nbsp;&nbsp;[read-only]<p>
   Julian Date에서 날짜부분만 얻어냄. 234311.5이면 234311.5이다.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get datePartOfJD():Number</code>
<br>
</div>
<a name="day"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">day</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>day:int</code>&nbsp;&nbsp;[read-only]<p>
   일(1~31)
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get day():int</code>
<br>
</div>
<a name="dayOfWeek"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dayOfWeek</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>dayOfWeek:int</code>&nbsp;&nbsp;[read-only]<p>
   요일 
   </p><p>
   0 : ALDayOfWeek.SUNDAY<br>
   1 : ALDayOfWeek.MONDAY<br>
   2 : ALDayOfWeek.THUSEDAY<br>
   3 : ALDayOfWeek.WEDNESDAY<br>
   4 : ALDayOfWeek.THURSDAY<br>
   5 : ALDayOfWeek.FRIDAY<br>
   6 : ALDayOfWeek.SATURDAY<br>
   </p>
   <span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get dayOfWeek():int</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">Algorithms in Meeus, P65</div>
</div>
<a name="dayOfYear"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dayOfYear</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>dayOfYear:int</code>&nbsp;&nbsp;[read-only]<p>
   해당 년도에서  현재 날짜까지의 날수 
   
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get dayOfYear():int</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">Algorithms in Meeus, P65</div>
</div>
<a name="daysInMonth"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">daysInMonth</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>daysInMonth:int</code>&nbsp;&nbsp;[read-only]<p>
   해당 달의 날 수 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get daysInMonth():int</code>
<br>
</div>
<a name="daysInYear"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">daysInYear</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>daysInYear:int</code>&nbsp;&nbsp;[read-only]<p>
   해당 해의 날수 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get daysInYear():int</code>
<br>
</div>
<a name="fractionalDay"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fractionalDay</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>fractionalDay:Number</code>&nbsp;&nbsp;[read-only]<p>
   분수값을 가지는 day 반환
   
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get fractionalDay():Number</code>
<br>
</div>
<a name="fractionalYear"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fractionalYear</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>fractionalYear:Number</code>&nbsp;&nbsp;[read-only]<p>
   분수값을 가지는 년도값 반환 
   가령 1932.3221년 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get fractionalYear():Number</code>
<br>
</div>
<a name="hour"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hour</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>hour:int</code>&nbsp;&nbsp;[read-only]<p>
   시(0~23)
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get hour():int</code>
<br>
</div>
<a name="isLeapYear"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isLeapYear</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>isLeapYear:Boolean</code>&nbsp;&nbsp;[read-only]<p>
   윤년인가?
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get isLeapYear():Boolean</code>
<br>
</div>
<a name="JD"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">JD</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>JD:Number</code>&nbsp;&nbsp;[read-write]<p>
   Julian Date 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get JD():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set JD(value:Number):void</code>
<br>
</div>
<a name="JDN"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">JDN</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>JDN:Number</code>&nbsp;&nbsp;[read-only]<p>
   Julian Date number
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get JDN():Number</code>
<br>
</div>
<a name="minute"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">minute</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>minute:int</code>&nbsp;&nbsp;[read-only]<p>
   분(0~59)
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get minute():int</code>
<br>
</div>
<a name="MJD"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">MJD</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>MJD:Number</code>&nbsp;&nbsp;[read-write]<p>
   Modified Julian Date 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get MJD():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set MJD(value:Number):void</code>
<br>
</div>
<a name="month"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">month</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>month:int</code>&nbsp;&nbsp;[read-only]<p>
   월(1~12)
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get month():int</code>
<br>
</div>
<a name="RJD"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">RJD</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>RJD:Number</code>&nbsp;&nbsp;[read-write]<p>
   Reduced Julian Date 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get RJD():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set RJD(value:Number):void</code>
<br>
</div>
<a name="second"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">second</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>second:Number</code>&nbsp;&nbsp;[read-only]<p>
   초(0~59.9999...)
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get second():Number</code>
<br>
</div>
<a name="timePartOfJD"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">timePartOfJD</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>timePartOfJD:Number</code>&nbsp;&nbsp;[read-only]<p>
   Julian Date에서 시간부분만 얻어냄. 234311.5이면 0h임.
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get timePartOfJD():Number</code>
<br>
</div>
<a name="year"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">year</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>year:int</code>&nbsp;&nbsp;[read-only]<p>
   년도 
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get year():int</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="ALDate()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ALDate</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function ALDate(... args)</code><p>
   생성자.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <span class="label">args</span></code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">setDate</div>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="date2JD()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">date2JD</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public static function date2JD(year:int, month:int, day:int, hour:int = 0, minute:int = 0, second:Number = 0, calendarType:String = null):Number</code><p>
   Calculation of the JD from the General Date 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">year</span>:int</code> &mdash; 년도
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">month</span>:int</code> &mdash; 월(1~12)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">day</span>:int</code> &mdash; 일(1~31)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">hour</span>:int</code> (default = <code>0</code>)<code></code> &mdash; 시간(0~23)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">minute</span>:int</code> (default = <code>0</code>)<code></code> &mdash; 분(0~59)
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">second</span>:Number</code> (default = <code>0</code>)<code></code> &mdash; 초
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">calendarType</span>:String</code> (default = <code>null</code>)<code></code> &mdash; 
     달력 타입. 기본값은 null이다. 
     특별한 경우에 ALCalendarType.GREGORIAN 또는 ALCalendarType.JULIAN 를 설정한다.
     <ul>
     
      <li> null값을 설정하는 경우 자동으로 1582.10.04 이전은 Julian Calendar를 적용해 계산하고 1582.10.15 이후에는 Gregorian Calandar를 적용해 계산한다. 
        만약 1582.10.05부터  1582.10.14내의 날짜로 맞추면 ArgumentError가 발생한다.
      <li> CalendarKind.GREGORIAN로 설정하는 경우 날짜는 Gregorian Calendar로 간주하고 Julian Date를 계산한다. 
       <li> CalendarKind.JULIAN로 설정하는 경우Julian Calendar로 간주하고 Julian Date를 계산한다.
     </ul>
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code> &mdash; Julian Date 값을 반환한다. 
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">Algorithms in Meeus P.61</div>
</div>
<a name="dayOfWeekFromDate()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dayOfWeekFromDate</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function dayOfWeekFromDate(year:int, month:int, day:int):int</code><p>
   요일 (날짜 값으로 계산)
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">year</span>:int</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">month</span>:int</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">day</span>:int</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>int</code> &mdash; 
    day of the week
    <p>
    0 : ALDayOfWeek.SUNDAY<br>
    1 : ALDayOfWeek.MONDAY<br>
    2 : ALDayOfWeek.THUSEDAY<br>
    3 : ALDayOfWeek.WEDNESDAY<br>
    4 : ALDayOfWeek.THURSDAY<br>
    5 : ALDayOfWeek.FRIDAY<br>
    6 : ALDayOfWeek.SATURDAY<br>
    </p>   
   </td>
</tr>
</table>
</div>
<a name="dayOfWeekFromJD()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dayOfWeekFromJD</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function dayOfWeekFromJD(jd:Number):int</code><p>
   요일 (Julian Date 값으로 계산)
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">jd</span>:Number</code> &mdash; Date 
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>int</code> &mdash; 
    day of the week
    <p>
    0 : ALDayOfWeek.SUNDAY<br>
    1 : ALDayOfWeek.MONDAY<br>
    2 : ALDayOfWeek.THUSEDAY<br>
    3 : ALDayOfWeek.WEDNESDAY<br>
    4 : ALDayOfWeek.THURSDAY<br>
    5 : ALDayOfWeek.FRIDAY<br>
    6 : ALDayOfWeek.SATURDAY<br>
    </p> 
    </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">Algorithms in Meeus, P65</div>
</div>
<a name="dayOfYear()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dayOfYear</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function dayOfYear(year:int, month:int, day:int):Number</code><p>
   해당 년도에서 현재 날짜까지의 날수 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">year</span>:int</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">month</span>:int</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">day</span>:int</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code> &mdash; day of the year
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">Algorithms in Meeus, P65</div>
</div>
<a name="dayOfYearToDayAndMonth()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dayOfYearToDayAndMonth</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function dayOfYearToDayAndMonth(year:int, dayOfYear:int):Array</code><p>
   calculation of 'day of the year' to 'day and month'
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">year</span>:int</code> &mdash; 년도 
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">dayOfYear</span>:int</code> &mdash; 해당 년도 1월 1일부터의 날수 
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; [ month, day of month ] 
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">Algorithms in Meeus, P66</div>
</div>
<a name="daysInMonth()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">daysInMonth</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function daysInMonth(year:int, month:int):int</code><p>
   해당 년도,월의 날수 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">year</span>:int</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">month</span>:int</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>int</code> &mdash; day of the month
   </td>
</tr>
</table>
</div>
<a name="daysInYear()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">daysInYear</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function daysInYear(year:int):int</code><p>
   해당 해의 날수 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">year</span>:int</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>int</code></td>
</tr>
</table>
</div>
<a name="isLeapYear()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isLeapYear</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function isLeapYear(year:int):Boolean</code><p>
   해당 년도가 윤년인가?
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">year</span>:int</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
</div>
<a name="JD2Date()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">JD2Date</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function JD2Date(JD:Number):<a href="../astro/ALDate.html">ALDate</a></code><p>
   Calculation of the the General Date from JD
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">JD</span>:Number</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../astro/ALDate.html">ALDate</a></code></td>
</tr>
</table>
</div>
<a name="JD2MJD()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">JD2MJD</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function JD2MJD(jd:Number):Number</code><p>
   Calculation of the MJD from the JD 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">jd</span>:Number</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code> &mdash; MJD
   </td>
</tr>
</table>
</div>
<a name="JD2RJD()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">JD2RJD</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function JD2RJD(jd:Number):Number</code><p>
   Calculation of the RJD from the JD 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">jd</span>:Number</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code> &mdash; RJD
   </td>
</tr>
</table>
</div>
<a name="MJD2JD()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">MJD2JD</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function MJD2JD(mjd:Number):Number</code><p>
   Calculation of the JD from the MJD 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">mjd</span>:Number</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code> &mdash; JD
   </td>
</tr>
</table>
</div>
<a name="RJD2JD()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">RJD2JD</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function RJD2JD(rjd:Number):Number</code><p>
   Calculation of the JD from the RJD 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">rjd</span>:Number</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code> &mdash; JD
   </td>
</tr>
</table>
</div>
<a name="setDate()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setDate</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setDate(... args):void</code><p>
   날짜를 설정한다. 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <span class="label">args</span></code> &mdash;   <ul>
     <li>지정하지 않을 경우, 현재의 UTC시간과 날짜로 설정
     <li>1개 값인 경우 Number형태인 JulianDate값 또는 Date객체 또는 ALCalendarDate객체 중 하나이어야함. 단 Julian Date는 0이상 값이여야 한다.
     <li>3개 값인 경우 year, month, day가 설정됨, calendar type은 날짜에 따라 달라짐. 여기서 day는 시간값도 포함한다(32.44일 이 가능)
     <li>4개 값인 경우 year, month, day, calendar type 값으로 설정함. 여기서 day는 시간값도 포함한다(32.44일 이 가능) 
     <li>6개 값인 경우 year, month, day, hour, minute, second 값으로 설정함. calendar type은 날짜에 따라 달라짐
     <li>7개 값인 경우 year, month, day, hour, minute, second, calendar type 값으로 설정함 
   </ul>
   </td>
</tr>
</table>
</div>
<a name="toString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">toString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function toString(arcsecToFixed:int = 2):String</code><p>
   year-month-day hour:minute:second 출력 
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">arcsecToFixed</span>:int</code> (default = <code>2</code>)<code></code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code></td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">Author : Yongho, Ji (jidolstar@gmail.com)</center>
</div>
</body>
</html>
<!--Author : Yongho, Ji (jidolstar@gmail.com)-->
